﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Windows.Controls.Primitives;
namespace eKanbanWPF
{
    /// <summary>
    /// Interaction logic for PhuongTest.xaml
    /// </summary>
    public partial class PhuongTest : Window
    {
        public PhuongTest()
        {
            InitializeComponent();
            //View.FrmPhase.Show(new eKanbanWPF.Model.BasePhase("BasePhase"));
            //View.FrmPhase.Show(new eKanbanWPF.Model.Phase("Phase", "just\nfor\ntesting", 3));            
            Model.Phase phase = new Model.Phase("Test", "Just\nfor\nTest", 2);
            phaseGUI1.Phase = phase;
        }

        private void ContentControl_PreviewMouseDown(object sender, MouseButtonEventArgs e)
        {
            Selector.SetIsSelected((ContentControl)sender, true);
        }

        private void contentControl2_PreviewMouseDown(object sender, MouseButtonEventArgs e)
        {
            Selector.SetIsSelected((ContentControl)sender, true);
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {

        }
    }
}
